﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="ViewOrdersforUser.aspx.cs" Inherits="WebApp.ViewOrdersforUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table style="width:100%;">
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    EnableModelValidation="True">
                    <Columns>
                        <asp:BoundField DataField="ordersid" HeaderText="Orders ID" />
                        <asp:BoundField DataField="cusID" HeaderText="Customer ID" />
                        <asp:BoundField DataField="receivername" HeaderText="Receiver Name" />
                        <asp:BoundField DataField="receiveraddress" HeaderText="Receiver Address" />
                        <asp:BoundField DataField="receiverphone" HeaderText="Receiver Phone" />
                        <asp:BoundField DataField="senddate" HeaderText="Send Date" />
                        <asp:BoundField DataField="receivedate" HeaderText="Receive Date" />
                        <asp:BoundField DataField="weight(kg)" HeaderText="Weight" />
                        <asp:BoundField DataField="provinceID" HeaderText="Province ID" />
                        <asp:BoundField DataField="serID" HeaderText="Service ID" />
                        <asp:BoundField DataField="price" HeaderText="Price" />
                        <asp:BoundField DataField="status" HeaderText="Status" />
                    </Columns>
                </asp:GridView>
                <br />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Search by Orders ID"></asp:Label>
                <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>
                <asp:Button ID="btnsearch" runat="server" Text="Search" 
                    onclick="btnsearch_Click" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnok" runat="server" Text="OK" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
